/*********************************************************
 *********************************************************
 ********************                  *******************
 *************                                ************
 *******                  _oo0oo_                  *******
 ***                     o8888888o                     ***
 *                       88" . "88                       *
 *                       (| -_- |)                       *
 *                       0\  =  /0                       *
 *                     ___/`---'\___                     *
 *                   .' \\|     |// '.                   *
 *                  / \\|||  :  |||// \                  *
 *                 / _||||| -:- |||||- \                 *
 *                |   | \\\  -  /// |   |                *
 *                | \_|  ''\---/''  |_/ |                *
 *                \  .-\__  '-'  ___/-. /                *
 *              ___'. .'  /--.--\  `. .'___              *
 *           ."" '<  `.___\_<|>_/___.' >' "".            *
 *          | | :  `- \`.;`\ _ /`;.`/ - ` : | |          *
 *          \  \ `_.   \_ __\ /__ _/   .-` /  /          *
 *      =====`-.____`.___ \_____/___.-`___.-'=====       *
 *                        `=---='                        *
 *      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      *
 *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
 *********************************************************/
package org.jbase.cms.entity;

import java.sql.Timestamp;

import org.beetl.sql.core.annotatoin.Table;
import org.jbase.common.domain.BaseEntity;

/**
 * Project: jbase-springboot <br/>
 * File: CmsArticle.java <br/>
 * Class: org.jbase.admin.entity.CmsArticle <br/>
 * Description: 文章表. <br/>
 * Copyright: Copyright (c) 2016 <br/>
 * Company: http://git.oschina.net/liuzp315/Jbase <br/>
 * Makedate: 2017-01-07 12:04:40 <br/>
 * gen by Jbase Coder <br/>
 * 
 * @author liuzhanhong
 * @version 1.0
 * @since 1.0
 */
@Table(name = "cms_article")
public class CmsArticle extends BaseEntity {

	private static final long serialVersionUID = 1L;

	private Integer columnId; // 栏目编号
	private String columnName; // 栏目名称
	private String columnSid; // 栏目编号
	private String title; // 标题
	private String link; // 文章链接
	private String color; // 标题颜色
	private String image; // 文章图片
	private String keywords; // 关键字
	private String description; // 描述、摘要
	private Integer weight = 0; // 权重，越大越靠前
	private Timestamp weight_date; // 权重期限
	private Integer hits = 0; // 点击数
	private String posid; // 推荐位，多选
	private String customListView; // 自定义列表视图
	private String customContentView; // 自定义内容视图
	private String viewConfig; // 视图配置
	private String content; // 文章内容
	private String copyfrom; // 文章来源
	private String relation; // 相关文章
	private Integer allowComment = 1; // 是否允许评论
	private Integer isAudit = 0; // 是否需要审核
	private Integer useColTpl = 0; // useColTpl
	private String target; // 目标
	private Integer sort = 0; // 排序（升序）
	private String videoCode; // videoCode

	/**
	 * @return 栏目编号
	 */
	public Integer getColumnId() {
		return columnId;
	}

	/**
	 * @param 栏目编号
	 *            to set
	 */
	public void setColumnId(Integer columnId) {
		this.columnId = columnId;
	}

	/**
	 * @return 栏目编号
	 */
	public String getColumnSid() {
		return columnSid;
	}

	/**
	 * @param 栏目编号
	 *            to set
	 */
	public void setColumnSid(String columnSid) {
		this.columnSid = columnSid;
	}

	/**
	 * @return 标题
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param 标题
	 *            to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return 文章链接
	 */
	public String getLink() {
		return link;
	}

	/**
	 * @param 文章链接
	 *            to set
	 */
	public void setLink(String link) {
		this.link = link;
	}

	/**
	 * @return 标题颜色
	 */
	public String getColor() {
		return color;
	}

	/**
	 * @param 标题颜色
	 *            to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

	/**
	 * @return 文章图片
	 */
	public String getImage() {
		return image;
	}

	/**
	 * @param 文章图片
	 *            to set
	 */
	public void setImage(String image) {
		this.image = image;
	}

	/**
	 * @return 关键字
	 */
	public String getKeywords() {
		return keywords;
	}

	/**
	 * @param 关键字
	 *            to set
	 */
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	/**
	 * @return 描述、摘要
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param 描述、摘要
	 *            to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return 权重，越大越靠前
	 */
	public Integer getWeight() {
		return weight;
	}

	/**
	 * @param 权重，越大越靠前
	 *            to set
	 */
	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	/**
	 * @return 权重期限
	 */
	public Timestamp getWeight_date() {
		return weight_date;
	}

	/**
	 * @param 权重期限
	 *            to set
	 */
	public void setWeight_date(Timestamp weight_date) {
		this.weight_date = weight_date;
	}

	/**
	 * @return 点击数
	 */
	public Integer getHits() {
		return hits;
	}

	/**
	 * @param 点击数
	 *            to set
	 */
	public void setHits(Integer hits) {
		this.hits = hits;
	}

	/**
	 * @return 推荐位，多选
	 */
	public String getPosid() {
		return posid;
	}

	/**
	 * @param 推荐位，多选
	 *            to set
	 */
	public void setPosid(String posid) {
		this.posid = posid;
	}

	/**
	 * @return 自定义列表视图
	 */
	public String getCustomListView() {
		return customListView;
	}

	/**
	 * @param 自定义列表视图
	 *            to set
	 */
	public void setCustomListView(String customListView) {
		this.customListView = customListView;
	}

	/**
	 * @return 自定义内容视图
	 */
	public String getCustomContentView() {
		return customContentView;
	}

	/**
	 * @param 自定义内容视图
	 *            to set
	 */
	public void setCustomContentView(String customContentView) {
		this.customContentView = customContentView;
	}

	/**
	 * @return 视图配置
	 */
	public String getViewConfig() {
		return viewConfig;
	}

	/**
	 * @param 视图配置
	 *            to set
	 */
	public void setViewConfig(String viewConfig) {
		this.viewConfig = viewConfig;
	}

	/**
	 * @return 文章内容
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param 文章内容
	 *            to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return 文章来源
	 */
	public String getCopyfrom() {
		return copyfrom;
	}

	/**
	 * @param 文章来源
	 *            to set
	 */
	public void setCopyfrom(String copyfrom) {
		this.copyfrom = copyfrom;
	}

	/**
	 * @return 相关文章
	 */
	public String getRelation() {
		return relation;
	}

	/**
	 * @param 相关文章
	 *            to set
	 */
	public void setRelation(String relation) {
		this.relation = relation;
	}

	/**
	 * @return 是否允许评论
	 */
	public Integer getAllowComment() {
		return allowComment;
	}

	/**
	 * @param 是否允许评论
	 *            to set
	 */
	public void setAllowComment(Integer allowComment) {
		this.allowComment = allowComment;
	}

	/**
	 * @return 是否需要审核
	 */
	public Integer getIsAudit() {
		return isAudit;
	}

	/**
	 * @param 是否需要审核
	 *            to set
	 */
	public void setIsAudit(Integer isAudit) {
		this.isAudit = isAudit;
	}

	/**
	 * @return useColTpl
	 */
	public Integer getUseColTpl() {
		return useColTpl;
	}

	/**
	 * @param useColTpl
	 *            to set
	 */
	public void setUseColTpl(Integer useColTpl) {
		this.useColTpl = useColTpl;
	}

	/**
	 * @return 目标
	 */
	public String getTarget() {
		return target;
	}

	/**
	 * @param 目标
	 *            to set
	 */
	public void setTarget(String target) {
		this.target = target;
	}

	/**
	 * @return 排序（升序）
	 */
	public Integer getSort() {
		return sort;
	}

	/**
	 * @param 排序（升序）
	 *            to set
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	/**
	 * @return videoCode
	 */
	public String getVideoCode() {
		return videoCode;
	}

	/**
	 * @param videoCode
	 *            to set
	 */
	public void setVideoCode(String videoCode) {
		this.videoCode = videoCode;
	}

	/**
	 * @return the columnName
	 */
	public String getColumnName() {
		return columnName;
	}

	/**
	 * @param columnName
	 *            the columnName to set
	 */
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	//////// - 分割线，以上代码为自动生成 - ////////

}
